//
//  Pub.m
//  JinYong_iOS_Store
//
//  Created by 王厚一 on 2017/10/17.
//  Copyright © 2017年 why. All rights reserved.
//

#import "Pub.h"

@implementation Pub

+ (BOOL)resultSuccess:(NSDictionary *)result {
    NSInteger num = [result[@"status"] integerValue];
    if (num == 200) {
        return YES;
    } else {
        return NO;
    }
}

+ (NSString *)addRMBWithString:(NSString *)string {
    NSString *newString = [NSString stringWithFormat:@"¥%@", string];
    return newString;
}

@end
